﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tuto.Objects
{
    public abstract class TutoPersonne
    {
        private string _nom;
        private string _prenom;
        private string _adresse;
        private string _email;
        private string _telephone;

        public string nom
        {
            get
            {
                return this._nom;
            }
            set
            {
                this._nom = value;
            }
        }

        public string prenom
        {
            get
            {
                return this._prenom;
            }
            set
            {
                this._prenom = value;
            }
        }

        public string adresse
        {
            get
            {
                return this._adresse;
            }
            set
            {
                this._adresse = value;
            }
        }

        public string email
        {
            get
            {
                return this._email;
            }
            set
            {
                this._email = value;
            }
        }

        public string telephone
        {
            get
            {
                return this._telephone;
            }
            set
            {
                this._telephone = value;
            }
        }

        public TutoPersonne()
        {
            this.nom = String.Empty;
            this.prenom = String.Empty;
            this.adresse = String.Empty;
            this.email = String.Empty;
            this.telephone = String.Empty;
        }
        /// <summary>
        ///     Create a new TutoPersonne object
        /// </summary>
        /// <param name="id"></param>
        /// <param name="nom"></param>
        /// <param name="prenom"></param>
        /// <param name="adresse"></param>
        /// <param name="email"></param>
        /// <param name="telephone"></param>
        public TutoPersonne(string nom, string prenom, string adresse, string email, string telephone)
        {
            this.nom = nom;
            this.prenom = prenom;
            this.adresse = adresse;
            this.email = email;
            this.telephone = telephone;
        }
    }
}
